package com.suliao.home.serviceImpl.content;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.suliao.home.entity.content.CompanyDO;
import com.suliao.home.mapper.content.CompanyMapper;
import com.suliao.home.service.content.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.apache.dubbo.config.annotation.Service;

/**
 * @author： M1nG-CodeGenerator
 * @since： 2020-09-14 15:21:01
 * @description： 服务实现类
 * @version： 1.0
 */
@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, CompanyDO> implements CompanyService {

    @Autowired
    CompanyMapper companyMapper;

    public CompanyDO getCompanyById(Integer id) {
        return companyMapper.getCompanyById(id);
    }

}
